package com.diandiji.demo.dao;

import com.diandiji.demo.entity.Manager;
import com.diandiji.demo.entity.User;

import java.util.List;

public interface ManagerDao {

    Manager queryManagerByName(String managername);

    void addUser(User user);

    void deleteUserById(int userID);

    List<User> queryAllUser();

    User queryUserById(int userID);
}
